<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset="utf-8">
<title>模拟器配置管理 | 模拟器配置列表</title>
<@fm.header />
<style type="text/css">
body {
	font: 12px/20px "微软雅黑", "宋体", Arial, sans-serif, Verdana, Tahoma;
	padding: 0;
	margin: 0;
}
.layout-split-proxy-h{
	position:absolute;
	width:2px;
	background:#888;
	font-size:1px;
	cursor:e-resize;
	display:none;
	z-index:5;
}
.layout-split-north{
	border-bottom:5px solid #efefef;
}
.layout-split-south{
	border-top:5px solid #efefef;
}
.layout-split-east{
	border-left:0px solid #efefef;
}
.layout-split-west{
	border-right:0px solid #efefef;
}
a:link {
 text-decoration: none;
}
a:visited {
 text-decoration: none;
}
a:hover {
 text-decoration: underline;
}
a:active {
 text-decoration: none;
}
.cs-north {
	height:40px;
	overflow:hidden;
}
.cs-north-bg {
	width: 100%;
	height: 100%;
	background: url(/resources/js/easyui/themes/bootstrap/images/header_bg.png) repeat-x;
}
.cs-north-logo {
	height: 30px;
	margin: 10px 0px 20px 5px;
	display: inline-block;
	color:#0E2D5F;
	font-size:20px;
	font-weight:bold;
	text-decoration:none;
}
.cs-north-info {
	position: absolute;
	color: #777;
	top: 10px;
	right: 30px;
	display: inline-block;
}
</style>
</head>
<body class="cmp-list-body">
	<div id="tb" style="padding:3px">
    <span>日期:</span>
    <input class="easyui-datebox" id="time" panelHeight="auto" style="line-height:20px;border:1px solid #ccc;width:155px;" data-options="required:true"/>
    	<a href="#" class="easyui-linkbutton" iconCls="icon-search" plain="true" onclick="doSearch();">查询</a> 
	</div>
	<div id="mainPanle" region="center" border="false">
		<table id="tt" class="easyui-datagrid" title="留存" iconCls="icon-save" toolbar="#tb" rownumbers="true" idField="id"
			url="/channelretent/retentmonitor?json" singleSelect="true" pagination="true" fitColumns="true" pageSize="100" pageList="[100]"> 
		    <thead>		    
		            <th align="center" width="30%" field="mark">mark</th>
		            <th align="center" width="30%" field="apkName">apkName</th>
		            <th align="center" width="15%" field="retentdate">应做天数</th>
		        	<th align="center" width="15%" field="planNum">应做留存数量</th>
		        	<th align="center" width="15%" field="ratio">当前比例</th>
		            <th align="center" width="15%" field="isretentlimit">留存是否分时段</th>
		            <th align="center" width="15%" field="realNum">已做数量</th>
		            <th align="center" width="15%" field="lastexetime">最后执行时间</th>
		        </tr>
		    </thead>   
		</table>
	</div>
</body>
<script>
function doSearch(){    
    $('#tt').datagrid('load', {    
    	time: $('#time').datebox('getValue')
    });
}

</script>
</html>